#!/bin/bash
 
echo "press number key to choice"
echo "--------     1.make    ---------"
echo "--------  2.loginWired  --------"
echo "-------- 3.loginWireless -------"
echo "--------   4.SimRobot    -------"
echo "--------     5.Bush     --------"
echo "--------6.GameController--------"
 
 
read number
 
if [ $number -eq 1 ];then
cd Make/Linux
make
cd;
 
 
elif [ $number -eq 2 ];then
cd Make/Linux
echo "Input your IP:192.168.64."
read ip
ssh 192.168.64.$ip -l nao 
cd
 
elif [ $number -eq 3 ];then
cd Make/Linux
echo "Input your IP:10.0.64."
read ip
ssh 10.0.64.$ip -l nao 
cd
 
elif [ $number -eq 4 ];then
cd Build/Linux/SimRobot/Develop
./SimRobot;
 
elif [ $number -eq 5 ];then
cd Build/Linux/bush/Develop
./bush;
 
elif [ $number -eq 6 ];then
cd GameController2017
java -jar GameController.jar
 
fi

